package com.dzl.integral.service.impl;

import com.dzl.integral.pojo.WelfareIntegralGrantRecordRel;
import com.dzl.integral.dao.WelfareIntegralGrantRecordRelMapper;
import com.dzl.integral.service.WelfareIntegralGrantRecordRelService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.dzl.base.service.BaseServiceImpl;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * 积分分发记录表与积分充值记录表中间表(WelfareIntegralGrantRecordRel)表服务实现类
 *
 * @author caobucao
 * @date 2021-09-07 16:54:39
 */
@Service
public class WelfareIntegralGrantRecordRelServiceImpl extends BaseServiceImpl<WelfareIntegralGrantRecordRel> implements WelfareIntegralGrantRecordRelService {

    @Autowired
    private WelfareIntegralGrantRecordRelMapper mapper;

    @Override
    public BigDecimal selectSumTotalGrantIntegral(Integer recordId) {
        return mapper.selectSumTotalGrantIntegral(recordId);
    }
}
